import Exceldown from './exceldown'

const install = function(Vue) {
  Vue.directive('exceldown', Exceldown)
}

if (window.Vue) {
  window.exceldown = Exceldown
  Vue.use(install); // eslint-disable-line
}

Exceldown.install = install
export default Exceldown
